﻿using System.Web;

namespace Toolkit.Web.ExtensionMethods
{
    public static class HtmlStringExtensions
    {
        public static bool IsNullOrEmpty(IHtmlString value)
        {
            return value == null || string.IsNullOrEmpty(value.ToString());
        }

        public static IHtmlString Create(string value)
        {
            return new HtmlString(value);
        }
    }
}
